//
//  QSAdaptedTool.h
//  myTest
//
//  Created by Song on 2018/11/20.
//  Copyright © 2018年 Song. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kAdaptedWidth(value) ([QSAdaptedTool adaptedWidth:value])
#define kAdaptedHeight(value) ([QSAdaptedTool adaptedHeight:value])

@interface QSAdaptedTool : NSObject
/**
 安全区域
 */
+ (UIEdgeInsets)safaAreaInset;

/**
 是否是刘海屏
 */
+ (BOOL)isBangScreen;

/**
 适配宽度
 */
+ (CGFloat)adaptedWidth:(CGFloat)value;

/**
 适配高度
 */
+ (CGFloat)adaptedHeight:(CGFloat)value;
@end
